cloud-mongo[all].yaml 987 B

123456789101112131415161718192021222324252627
  1. scheduler:
  2. # run every day at 6:00 and 18:00 UTC
  3. cron: "0 17 */1 * *"
  4. # number of backups to keep locally
  5. retention: 14
  6. # backup operation timeout in minutes
  7. timeout: 60
  8. target:
  9. # mongod IP or host name
  10. host: "cloud-mongo"
  11. # mongodb port
  12. port: 27017
  13. # mongodb database name, leave blank to backup all databases
  14. database: ""
  15. # leave blank if auth is not enabled
  16. username: "root"
  17. password: "cloud"
  18. # add custom params to mongodump (eg. Auth or SSL support), leave blank if not needed
  19. params: "--authenticationDatabase admin"
  20. # params: "--ssl --authenticationDatabase admin"
  21. # 对应数据库配置
  22. # mongodb://root:cloud@cloud-mongo:27017/usercenter?authSource=admin
  23. # mongodb://root:cloud@cloud-mongo:27017/queencloud?authSource=admin
  24. # mongodb://root:cloud@cloud-mongo:27017/cloudmat?authSource=admin
  25. # mongodb://root:cloud@cloud-mongo:27017/cloudmesh?authSource=admin
  26. # mongodb://root:cloud@cloud-mongo:27017/matpromote?authSource=admin